package com.ht.domain.vo;

import com.ht.domain.bo.TbDepartmentBO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 科室表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder
public class TbDepartmentVO {

  private long id;
  private String departmentName;

  public TbDepartmentVO(TbDepartmentBO tbDepartmentBO) {
    this.id = tbDepartmentBO.getId();
    this.departmentName = tbDepartmentBO.getDepartmentName();
  }
}
